/**
 *
 * @author Gratien
 */
package edu.com.gestionstock.vue;

import javax.swing.JPanel;
import java.awt.GridLayout;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JComboBox;

import javax.swing.JButton;

public class PanneauModifieClient extends PanneauAjoutClient
{

    private JButton jButtonModifier = null;

    /**
     * This is the default constructor
     */
    public PanneauModifieClient()
    {
        super();

        this.remove(getJButtonAjouter());
        this.remove(getJButtonAnnuler());

        this.add(getJButtonModifier(), null);
        this.add(getJButtonAnnuler(), null);

    }

    public JButton getJButtonModifier()
    {
        if ( jButtonModifier == null )
        {
            jButtonModifier = new JButton();
            jButtonModifier.setText("Modifier");

        }
        return jButtonModifier;
    }

    public void setJButtonModifier(JButton jButtonModifier)
    {
        this.jButtonModifier = jButtonModifier;
    }
}